﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 操作员周预期
    /// </summary>
    public interface IOperatorWeekExpected
    {
        void InitOperatorWeekExpected(int tradeHistoryId);

        void Delete(int year, int month, int week);
        /// <summary>
        /// 查询交易员周预期
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="year"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        OperatorWeekExpected GetOperatorWeekExpected(int operatorid, int week, int year);

        /// <summary>
        /// 获取操作员周预期(这个方法应该每天去算，现在是从账户周预期里面查到，以后需要优化)
        /// </summary>
        /// <param name="operatorid"></param>
        /// <param name="week"></param>
        /// <param name="month"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        void SetOperatorWeekExpected(int operatorid, int tradeHistoryId);
    }
}
